<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$site_url}/" />
<!-- Use IE7 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset={$charset}" />
<meta http-equiv="Content-Type" content="text/html;charset={$charset}" />
{$page_seo}

<meta name="author" content="ecmall.shopex.cn" />
<meta name="copyright" content="ShopEx Inc. All Rights Reserved" />
<link href="{$site_url}/themes/mall/taocz/styles/default/css/global.css" rel="stylesheet" type="text/css" />
<link href="{res file=shop.css}" rel="stylesheet" type="text/css" />
<link href="{$site_url}/themes/mall/taocz/styles/default/css/footer.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="index.php?act=jslang"></script>
<script type="text/javascript" src="{lib file=jquery.js}" charset="utf-8"></script>
<script type="text/javascript" src="{lib file=mall.js}" charset="utf-8"></script>
<script type="text/javascript" src="{$site_url}/themes/mall/taocz/styles/default/js/main.js" charset="utf-8"></script>

<script type="text/javascript" src="{lib file=cart.js}" charset="utf-8"></script>

<script type="text/javascript" src="{lib file=kissy/build/kissy.js}"></script>
<script type="text/javascript" src="{lib file=kissy/build/switchable/switchable-pkg.js}"></script>

<script type="text/javascript">
//<!CDATA[
var SITE_URL = "{$site_url}";
var REAL_SITE_URL = "{$real_site_url}";
var PRICE_FORMAT = '{$price_format}';
//]]>
</script>
{$_head_tags}
</head>
<style>
#footer .footer-fixed{margin-left:485px; display:none}
</style>
<body>
<div id="site-nav" class="w-full">
   <div class="shoptop w clearfix">
      <div class="login_info">
         {$lang.hello},
         <!--{if !$visitor.user_id}-->
         {$visitor.user_name|escape}
         <a href="{url app=member&act=login&ret_url=$ret_url}">{$lang.login}</a>
         <a href="{url app=member&act=register&ret_url=$ret_url}">{$lang.register}</a>
         <!--{else}-->
         <a href="{url app=member}"><span>{$visitor.user_name|escape}</span></a>
         <a href="{url app=member&act=logout}">{$lang.logout}</a>
         <a href="{url app=message&act=newpm}">{$lang.pm}<!--{if $new_message}-->(<span>{$new_message}</span>)<!--{/if}--></a>
         <!--{/if}-->
      </div>
      <ul class="quick-menu">
        {if !$index}<li class="home"><a href="{$site_url}">{$lang.back_home}</a></li>{/if}
        <li class="item">
           <div class="menu iwantbuy">
              <a class="menu-hd" href="{url app=category}">{$lang.i_want_buy}<b></b></a>
              <div class="menu-bd">
                 <div class="menu-bd-panel">
                    <div>
                       <p><a href="{url app=category}">{$lang.gcategory}</a></p>
                       <p><a href="#">大家正在买</a></p>
					   <p><a href="#">品味连连看</a></p>
                    </div>
                 </div>
              </div>
           </div>
         </li>
         <li class="item">
            <div class="menu mytb">
               <a class="menu-hd" href="{url app=buyer_admin}">我是买家<b></b></a>
               <div class="menu-bd">
                  <div class="menu-bd-panel">
                     <div>
                        <p><a href="{url app=buyer_order}">已买到的宝贝</a></p>
                        <p><a href="{url app=friend}">我的好友</a></p>
                        <p><a href="{url app=my_question}">我的咨询</a></p>
                     </div>
                  </div>
               </div>
            </div>
         </li>
         <li class="item">
            <div class="menu seller-center">
               <a class="menu-hd" href="{url app=seller_admin}">卖家中心<b></b></a>
               <div class="menu-bd">
                  <div class="menu-bd-panel">
                     <div>
                        <p><a href="{url app=seller_order}">已卖出的宝贝</a></p>
                        <p><a href="{url app=my_goods}">出售中的宝贝</a></p>
                     </div>
                  </div>
               </div>
            </div>
         </li>
         <li class="service">
            <a href="{url app=article&code=help}">帮助中心</a>
         </li>
         <li class="item">
            <div class="menu mini-cart">
               <a class="ac" href="{url app=cart}">
                  <s></s>购物车<strong>{$cart_goods_kinds}</strong>件<b></b>
               </a>
               <div class="mini-cart-content menu-bd">
                  <dl class="mini-cart-bd">
                     <!--{if $cart_goods_kinds}-->
                     <dt class="mini-cart-hd">最近加入的宝贝：</dt>
                     <!--{foreach from=$carts_top.cart_items item=cart name=fe_cart}-->
                     <dd class="clearfix" id="cart_goods{$cart.rec_id}">
                        <div class="mini-cart-img">
                           <a href="{url app=goods&id=$cart.goods_id}" target="_top">
                              <img alt="{$cart.goods_name}" src="{$cart.goods_image}" width="40" height="40">
                           </a>
                        </div>
                        <div class="mini-cart-title">
                           <a title="{$cart.goods_name}" href="{url app=goods&id=$cart.goods_id}" target="_top">{$cart.goods_name}</a>
                        </div>
                        <div class="price-admin">
                           <div class="mini-cart-count"><strong class="mini-cart-price">{$cart.price|price}</strong></div>
                           <div class="mini-cart-del"><a href="javascript:;" onclick="drop_cart_item({$cart.store_id}, {$cart.rec_id});">删除</a></div>
                        </div>
                     </dd>
                     <!--{/foreach}-->
                     <!--{else}-->
                     <dt class="mt10 float-left mini-cart-empty">您购物车里还没有任何宝贝</dt>
                     <!--{/if}-->
                     <dd class="mini-cart-bt">
                        <a href="{url app=cart}">查看我的购物车</a>
                     </dd>                          
                  </dl>
               </div>
            </div>
         </li>
         <li class="service">
            <a href="{url app=article&code=help}">在线客服</a>
         </li>
         <li class="item">
            <div class="menu favorite">
               <a class="menu-hd" href="{url app=my_favorite}">收藏夹<b></b></a>
               <div class="menu-bd">
                  <div class="menu-bd-panel">
                     <div>
                       <p><a href="{url app=my_favorite}">收藏的宝贝</a></p>
                       <p><a href="{url app=my_favorite&type=store}">收藏的店铺</a></p>
                    </div>
                 </div>
               </div>
           </div>
         </li>
         <li class="item" style="background:none">
            <div class="menu sites">
               <a class="menu-hd" href="javascript:;">网站导航<b></b></a>
               <div class="menu-bd padding10">
                  <!--{foreach from=$navs.header item=nav}-->
                  <a href="{$nav.link}"{if $nav.open_new} target="_blank"{/if}>{$nav.title|escape}</a>
                  <!--{/foreach}-->
               </div>
            </div>
        </li>
     </ul>
   </div>
   <style>
.fixed-top /* 头部固定 */{position:fixed;bottom:auto;top:200px;}
.fixed-bottom /* 底部固定 */{position:fixed;bottom:0px;top:auto;}
.fixed-left /* 左侧固定 */{position:fixed;right:auto;left:0px;}
.fixed-right /* 右侧固定 */{position:fixed;right:0px;left:auto;}
/* 上面的是除了IE6的主流浏览器通用的方法 */
* html,* html body /* 修正IE6振动bug */{background-image:url(about:blank);background-attachment:fixed;}
* html .fixed-top /* IE6 头部固定 */{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop)+200);}
* html .fixed-right /* IE6 右侧固定 */ {position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft+document.documentElement.clientWidth-this.offsetWidth)-(parseInt(this.currentStyle.marginLeft,10)||0)-(parseInt(this.currentStyle.marginRight,10)||0));}
* html .fixed-bottom /* IE6 底部固定  */{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));}
* html .fixed-left /* IE6 左侧固定 */{position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft));}
</style>
   <div class="kefufixed fixed-top fixed-right">
      <div class="show-1">
      	<div class="title">
        	<h3></h3>
            <span></span>
        </div>
        <div class="content">
        	<div class="im">
        	<!--{foreach from=$store.online_service.qq item=qq}-->
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$qq|escape}&site={$store.store_name|escape}&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$qq|escape}:51" alt="有事咨询我" title="有事咨询我" align="absmiddle"/></a>
            <!--{/foreach}-->
            
            <!--{foreach from=$store.online_service.ww item=ww}-->
            <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid={$ww|escape:url}&site=cntaobao&s=1&charset={$charset}" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid={$ww|escape:url}&site=cntaobao&s=1&charset={$charset}" alt="有事咨询我" align="absmiddle" /></a>
            <!--{/foreach}-->
            
            </div>
            <!--{if $store.hotline}-->
            <div class="tel">
            	<h3>服务热线</h3>
                <p>{$store.hotline}</p>
            </div>
            <!--{/if}-->
        </div>
        <div class="bottom">
        	<h3><a href="{url app=order}" class="gotoorder"></a><a href="{url app=cart}" class="gotocart"></a></h3>
            <p onclick="javascript:scroll(0,0)"></p>
        </div>
      </div>
      <div class="show-2 hidden">
      	 <h3></h3>
      </div>
   </div>
   <script>
   		$(function(){
			$('.kefufixed .show-1 .title h3').click(function(){
				$('.kefufixed .show-1').hide();
				$('.kefufixed .show-2').show();
			});
			$('.kefufixed .show-2').click(function(){
				$(this).hide();
				$('.kefufixed .show-1').show();
			});
		});
  </script>
</div>
